package com.lifeng.system.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
* <p>
    * 
    * </p>
*
* @author 李峰
* @since 2022-11-26
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    public class THistoryprice implements Serializable {

    private static final long serialVersionUID = 1L;

            /**
            * 地址id
            */
            @TableId(value = "th_id", type = IdType.AUTO)
    private Long thId;

            /**
            * 商品id
            */
    private Long pid;

            /**
            * 价格
            */
    private BigDecimal price;

            /**
            * 开始时间
            */
    private LocalDateTime startTime;

            /**
            * 结束时间
            */
    private LocalDate endTime;


}
